// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App';
import router from './router';
import tzBreadcrumb from '@/components/breadcrumb/breadcrumb.vue';
import tzA from '@/components/tz-a/tz-a.vue';
import qrcode from '@/components/qrcode/qrcode.vue';

Vue.config.productionTip = false;
Vue.prototype.bus = new Vue();
Vue.component('tz-breadcrumb', tzBreadcrumb);
Vue.component('tz-a', tzA);
Vue.component('tz-qrcode', qrcode);

Vue.use(ElementUI);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
});
